﻿@model Models.Models.User
@{
    ViewBag.Title = "添加";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Add</h2>
<form action="@Url.Action("Add")" method="post" >
    <table>
        <tr>
            <th>Name</th>
            <td>@Html.TextBoxFor(m => m.Name)</td>
        </tr>
        <tr>
            <th>Age</th>
            <td>@Html.TextBoxFor(m => m.Age)</td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="提交" /></td>
        </tr>
    </table>
</form>
